﻿

def cal():
    inclk = 24000000.0
    rate = 11059200.0
    for i in range(2,256):
        fdiv = float(inclk) / rate
        
        div = int(fdiv)
        
        mult = int(i * (fdiv - div))
        herr = (inclk * i / ((i + mult) * div) - rate) / rate
        if herr < 0:
            print 'error'
            print inclk, i, mult , div, rate, herr
            break
        err =  (rate - inclk * i / ((i + mult + 1) * div)) / rate
        if err < 0:
            print 'error'
            print inclk, i, mult , div, rate, herr, 'err'
            break
        
        if err < herr:
            mult = mult + 1
        else:
            err = herr
        
        if i == 2:
            err_p = err
        if err < err_p:
            err_p = err
        # print mult, i, err_p, err_p / rate
    print mult, i, err_p, err_p / rate
if __name__ == '__main__':
    cal()
    raw_input()